package org.jeecg.common.modules.doctor.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class DoctorRegisterRecordListVo {
    private String id;

    private String doctorId;
    private String registerHospitalId;/**挂号医院id*/
    private String type;               /**就诊号种：普通号、专家号、特需号*/
    private String visitTime;          /**就诊日期*/
    private String visitPart;          /**出诊时间段：上午、下午、晚上*/
    private BigDecimal price;          /**挂号价格*/
    private String openid;
    private String registerNature;     /**挂号性质*/
    private Integer visitNum;          /**挂号序号*/
    private String createTime;           /**挂号生成时间*/
    private Date registerTime;         /**患者挂号时间*/
    private Integer status;            /**挂号状态：1：成功；2：取消*/
    private String patientName;        /**患者姓名*/
    private String name;
    @JsonFormat(timezone = "GMT+8", pattern = "HH:mm")
    @DateTimeFormat(pattern = "HH:mm")
    private String startTime;           /**开始时间*/
    @JsonFormat(timezone = "GMT+8", pattern = "HH:mm")
    @DateTimeFormat(pattern = "HH:mm")
    private String endTime;             /**结束时间*/

    /**
     * 头像
     */
    private String headImg;
    /**
     * 所在医院
     */
    private String hospital;
    /** 审核状态 0非大师 1大师 */
    private Integer master;
    private String address;
    /** 支付时间 */
    private String endPayTime;
    private String registerId;
    private Integer isShebao; // 是社保，线上免支付，线下医院刷医保挂号
}
